<!doctype html>
<html lang="en">
<head>
<title><g:layoutTitle default="Sisacad - Sistema Acadêmico" /></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- BOOTSTRAP STYLES-->
<link rel="stylesheet" href="${resource(dir: 'css', file: 'bootstrap.css')}" type="text/css">
<!-- FONTAWESOME STYLES-->
<link rel="stylesheet" href="${resource(dir: 'css', file: 'font-awesome.css')}" type="text/css">
<!-- MORRIS CHART STYLES-->
<link rel="stylesheet" href="${resource(dir: 'js/morris', file: 'morris-0.4.3.min.css')}" type="text/css">
<link rel="stylesheet" href="${resource(dir: 'js', file: 'jquery-1.10.2.js')}" type="text/css">
<!-- CUSTOM STYLES-->
<link rel="stylesheet" href="${resource(dir: 'css', file: 'custom.css')}" type="text/css">
<!-- GOOGLE FONTS-->
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css' />
<r:require module="bootstrap" />
<g:layoutHead />
<r:layoutResources />
</head>
<body>
	    <div id="wrapper">
        <nav class="navbar navbar-default navbar-cls-top " role="navigation" style="margin-bottom: 0">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".sidebar-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <g:link controller="autenticacao" action="index" class="navbar-brand">SisAcad</g:link> 
            </div>
  		<div style="color: white; padding: 15px 50px 5px 50px; float: right; font-size: 16px;"> Último acesso : 20 Ago 2014 &nbsp; <g:link controller="autenticacao" action="logout" class="btn btn-danger square-btn-adjust">Logout</g:link> </div>
        </nav>   
            <nav class="navbar-default navbar-side" role="navigation">
            <div class="sidebar-collapse">
                <ul class="nav" id="main-menu">
				<li class="text-center">
                    <img src="/sisacad/img/find_user.png" class="user-image img-responsive" title="Foto Perfil"/>
					</li>
                  		<li><g:link controller="curso" action="list" class="active-menu"> <i class="fa fa-dashboard fa-3x"></i>Curso</g:link></li>
						<li><g:link controller="professor" action="list"><i class="fa fa-desktop fa-3x"></i>Professor</g:link></li>
						<li><g:link controller="disciplina" action="list"><i class="fa fa-qrcode fa-3x"></i>Disciplina</g:link></li>
						<li><g:link controller="turma" action="list"><i class="fa fa-table fa-3x"></i>Turma</g:link></li>
						<li><g:link controller="aluno" action="list"> <i class="fa fa-edit fa-3x"></i>  Aluno</g:link></li>
						<li><g:link controller="nota" action="index"> <i class="fa fa-square-o fa-3x"></i> Nota</g:link></li>
                  </ul>
 			</div>  
 		</nav>
	</div>
	
 	<div id="page-wrapper">
		<g:layoutBody />
	</div>
	
	<g:javascript library="application" />
	<r:layoutResources />
</body>
</html>